package message;

import socket.ChessClient;

public class ServerGroupChat extends BaseMessage{
    private String str;

    public ServerGroupChat(String str) {
        this.str = str;
    }


    @Override
    public void sendToServer() {

    }

    @Override
    public void selfExecute() {
        ChessClient.getInstance().getRoomList().showChatMessage(str);
    }
}
